package com.alice.consumer.client;

/**
 * Created by caoxuel on 2020/9/23 16:00
 */

import com.alice.consumer.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(value="item-service")
public interface UserClient {
    @PostMapping("/user/login")
    public Result login();

    @GetMapping("/user/info")
    public Result info();
}
